package com.five.welcome.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.five.welcome.entity.Studentinfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ywt
 * @since 2024-07-11
 */
public interface StudentinfoService extends IService<Studentinfo> {

    int addStudent(Studentinfo studentinfo);

    Studentinfo getInfoBySNumber(String sNumber);

    Page<Studentinfo> myPage(Integer pageNumber, Integer pageSize,
                             String sNumber,String major,String classes);
}
